package com.xiliubit.cloudpicture.common;

import lombok.Data;

@Data
public class PageRequest {
    /**
     * 降序
     */
    final public static String SORT_ORDER_DESC = "descend";
    /**
     * 升序
     */
    final public static String SORT_ORDER_ASC = "ascend";


    /**
     * 当前页号
     */
    private int current = 1;

    /**
     * 页面大小
     */
    private int pageSize = 10;

    /**
     * 排序字段
     */
    private String sortField;

    /**
     * 排序顺序（默认降序）
     */
    private String sortOrder = "descend";
}

